/**************************************************************
 * Ben Stephenson       07025656
 * Mark Renney          07010390
 * Laurie Potts         07009314
 * Michael Peeke-Vout   07014312
 *
 * CM0034 Industrial Case Project
 * Conveyor Belt
 * global_dec.c
 * 28/02/2011
 * Updated - 09/05/11 
 **************************************************************/


#include <global_decs.h>


static uint8_t sys_state = RUNNING;


uint8_t getState(void){
  
  return sys_state;
}

void setState(uint8_t temp_state){

  sys_state = temp_state;
}